#ifndef MYCLEANUSBDIALOG_H
#define MYCLEANUSBDIALOG_H

#include <QtGui/QDialog>
#include <QTreeWidget>

#include "api.h"

namespace Ui {
    class myCleanUSBDialog;
}

class myCleanUSBDialog : public QDialog
{
    Q_OBJECT
public:
    myCleanUSBDialog(QWidget *parent = 0);
    ~myCleanUSBDialog();

    bool run_form();
    drivesDataList getDataList()
    {return genDriveList;}

    drivesDataList getAllDataList();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::myCleanUSBDialog *ui;
    drivesDataList genDriveList;

    void fillWithDrives();

private slots:
    void on_cleanupButton_clicked();
    void on_rescanLabel_linkActivated(QString link);
    void on_selectLabel_linkActivated(QString link);
    void itemDoubleClicked ( QTreeWidgetItem * item, int column );
};

#endif // MYCLEANUSBDIALOG_H
